﻿using RBAC.LuFang.Domain;
using RBAC.LuFang.Domain.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RBAC.LuFang.Domin.Services
{
    public interface IMenuService
    {
        Task<int> AddMenu(MenuInfo menu);//添加菜单
        Task<List<MenuInfo>> GetMenuPid();//显示父级菜单
        Task<Pagese> GetMenu(int pageindex,int pagesize,string ?mname);//显示菜单
        Task<int> MenuDel(int menuid);//删除
        Task<int> Yan(int menuid);//验证是否有子集
        Task<MenuInfo> GetByid(int menuid);//反填
        Task<int> UpdMenu(MenuInfo menu);//修改
    }
}
